/*
 * math_utils.hpp
 *
 *  Created on: Mar 18, 2009
 *      Author: genady
 */

#ifndef MATH_UTILS_HPP_
#define MATH_UTILS_HPP_

#include <cmath>
#include <utility>

inline std::pair<double,double> exp(double lMargin, double rMargin)
{
	return std::make_pair(exp(lMargin), exp(rMargin));
}

inline std::pair<double,double> exp(const std::pair<double,double>& pair_)
{
	return std::make_pair(exp(pair_.first), exp(pair_.second));
}

#endif /* MATH_UTILS_HPP_ */
